// DrawPenCtrler.h: interface for the CDrawPenCtrler class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DRAWPENCTRLER_H__0C7F2668_F66F_4231_84E3_DF7134E2EDC9__INCLUDED_)
#define AFX_DRAWPENCTRLER_H__0C7F2668_F66F_4231_84E3_DF7134E2EDC9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "DrawObjectCtrler.h"

// draw with a pen (control class)
class CDrawPenCtrler : public CDrawObjectCtrler  
{
public:
	CDrawPenCtrler(COLORREF color = UD_RED, int width = 1, long style = PS_SOLID);
	virtual ~CDrawPenCtrler();

	void StartPoint (long x, long y);
	void MoveAt (CDC* pDC, long x, long y);
private:
	long m_x, m_y;		// current x , y point
};

#endif // !defined(AFX_DRAWPENCTRLER_H__0C7F2668_F66F_4231_84E3_DF7134E2EDC9__INCLUDED_)
